package apitest;

import java.util.Comparator;
import java.util.PriorityQueue;

/**
 * @Author liuhaoqi
 * @Date 2020/12/26 15:57
 * @Version 1.0
 */
public class T20201226 {
    public static void main(String[] args) {
//        System.out.println((2<<4)+(40 >>2));
//        int a = 4;
//        int b = 5;
//        System.out.println(a^b^a);
//        System.out.println(b^a^b);

        PriorityQueue<Integer> queue = new PriorityQueue<>();
        queue.add(3);
        queue.add(2);
        queue.add(7);
        while (!queue.isEmpty()) {
            System.out.println(queue.poll());
        }
    }
}
